package com.exp.practice.workbench.domain;

/**
 * @description: 学生练习题目类
 * @author 13102
 * @date 2021/12/11 11:54
 * @version 1.0
 */
public class StudentTest {
    private Integer id;
    private Question question;
    private Student student;
    private String stuAnswer;

    public StudentTest(Integer id, Question question, Student student, String stuAnswer) {
        this.id = id;
        this.question = question;
        this.student = student;
        this.stuAnswer = stuAnswer;
    }

    public StudentTest() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public String getStuAnswer() {
        return stuAnswer;
    }

    public void setStuAnswer(String stuAnswer) {
        this.stuAnswer = stuAnswer;
    }

    @Override
    public String toString() {
        return "StudentTest{" +
                "id=" + id +
                ", question=" + question +
                ", student=" + student +
                ", stuAnswer='" + stuAnswer + '\'' +
                '}';
    }
}
